Total Complexity | 1 |
Total Lines | 27 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | export class PlayerMinimal { |
||
2 | constructor({ |
||
3 | nameFirst, |
||
4 | nameLast, |
||
5 | shirtNr, |
||
6 | position, |
||
7 | gamesPlayed, |
||
8 | cleanSheets, |
||
9 | goalsScored, |
||
10 | cardsYellow, |
||
11 | cardsRed, |
||
12 | imageSrc, |
||
13 | link, |
||
14 | }) { |
||
15 | this.nameFirst = nameFirst |
||
16 | this.nameLast = nameLast |
||
17 | this.shirtNr = shirtNr |
||
18 | this.position = position |
||
19 | this.gamesPlayed = gamesPlayed |
||
20 | this.cleanSheets = cleanSheets |
||
21 | this.goalsScored = goalsScored |
||
22 | this.cardsYellow = cardsYellow |
||
23 | this.cardsRed = cardsRed |
||
24 | this.imageSrc = imageSrc |
||
25 | this.link = link |
||
26 | } |
||
27 | } |
||
28 | |||
72 |